#include "function.h"

int main()
{
    point pointstruct;
    float x = 3.6f;
    float y = 4.8f;
    point res1 = setpoint(pointstruct, x, y);
    float result = calmid(&res1);
    printf("The result is %.2f\n", result);
    return 0;
}